<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<script src="js/jquery-3.7.0.min.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div>1</div>
		<div id="d1">2</div>
		<div class="d2">3</div>
		<div>4</div>
		<script type="text/javascript">
			var divs = $("div"); //jQuery对象数组
			console.log(divs[0])
			
			$("div").eq(0).html("111");
			$("div").get(0).innerHTML = "111111";
			
			$($("div").get(0)).html("111111111111")
			
			//$("div")[0].innerHTML = "111111";
			
			$("#d1").html("222");
			$(".d2").html("333");
			$(".d2+div").html("444");
			
			//$("div").html("666")
		</script>
	</body>
</html>
